﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using JM.JCY.Common;
using NCS.IConnect.PolicyInjection.CallHandlers;
using JM.JCY.BusinessComponent;
using JM.JCY.BusinessEntity;
using JM.JCY.DataAccess;

namespace JM.JCY.BusinessFacade
{
    public class LawCaseBF : JCYBusinessFacadeBase<LawCaseBC>, ILawCase
    {
        public LawCaseBF()
            : base(new LawCaseBC())
        {
        }

        public void UpdateSelfOperate(LawCaseDataSet.T_SelfOperateDataTable dt)
        {
            this.BusinessComponent.UpdateSelfOperate(dt);
        }

        public LawCaseDataSet.T_SelfOperateDataTable GetLawCaseSafety(int caseId, string userName)
        {
            return this.BusinessComponent.GetLawCaseSafety(caseId, userName);
        }

        public void UpdateLawCaseMaterial(LawCaseDataSet.T_LawCaseMaterialDataTable dt)
        {
            this.BusinessComponent.UpdateLawCaseMaterial(dt);
        }

        public LawCaseDataSet.T_LawCaseMaterialDataTable GetLawCaseMaterial(int caseId, string filler)
        {
            return this.BusinessComponent.GetLawCaseMaterial(caseId,filler);
        }
    }
}
